/**
 * 注册中心参数
 */
const registry = Object.freeze({
    NAME_SPACE: "i1stcs",
    BASE_PATH: "/microserv",
    SERVICE_PATH: "/x-server",

    CONF_PATH: "/config",
    GLOBAL_CONFIG: "/global",

    SELECT_STRATEGY: "round", //负载均衡规则：random,round,sticky
    services: ["m-test1", "m-test2"], //需要进行服务发现的服务集合

    // provider: "zookeeper",
    // nodes: "localhost:2181",

    // provider: "nacos",
    // nodes: "localhost:8848",
    // user: "nacos",
    // password: "nacos",

    provider: "consul",
    nodes: "localhost:8500",
});


module.exports = Object.freeze({
    registry: registry,
})